package com.aliyun.messagemgt.entities;

import java.util.Date;

public class UrlMgtEntity {
	private Long urlId;

    private Integer originUrlHash;

    private String originUrl;

    private String transferUrl;

    private Date timeCreate;

    private String urlCode;

    public Long getUrlId() {
        return urlId;
    }

    public UrlMgtEntity setUrlId(Long urlId) {
        this.urlId = urlId;
        return this;
    }

    public Integer getOriginUrlHash() {
        return originUrlHash;
    }

    public UrlMgtEntity setOriginUrlHash(Integer originUrlHash) {
        this.originUrlHash = originUrlHash;
        return this;
    }

    public String getOriginUrl() {
        return originUrl;
    }

    public UrlMgtEntity setOriginUrl(String originUrl) {
        this.originUrl = originUrl;
        return this;
    }

    public String getTransferUrl() {
        return transferUrl;
    }

    public UrlMgtEntity setTransferUrl(String transferUrl) {
        this.transferUrl = transferUrl;
        return this;
    }

    public Date getTimeCreate() {
        return timeCreate;
    }

    public UrlMgtEntity setTimeCreate(Date timeCreate) {
        this.timeCreate = timeCreate;
        return this;
    }

    public String getUrlCode() {
        return urlCode;
    }

    public UrlMgtEntity setUrlCode(String urlCode) {
        this.urlCode = urlCode;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("UrlMgt{");
        sb.append("urlId=").append(urlId);
        sb.append(", originUrlHash=").append(originUrlHash);
        sb.append(", originUrl='").append(originUrl).append('\'');
        sb.append(", transferUrl='").append(transferUrl).append('\'');
        sb.append(", timeCreate=").append(timeCreate);
        sb.append(", urlCode=").append(urlCode);
        sb.append('}');
        return sb.toString();
    }
}
